﻿using SqlSugar;
using System;
using System.Data;

namespace DataModels.Entities.AuthCore
{
    /// <summary>
    /// 表实体类
    /// </summary>
    [SugarTable("dncuserrolemapping")] // 替换为实际的表名
    public class Dncuserrolemapping
    {
        /// <summary>
        /// UserGuid
        /// </summary>
        [SugarColumn(ColumnName = "UserGuid")]
        public Guid UserGuid { get; set; }

        /// <summary>
        /// RoleCode
        /// </summary>
        [SugarColumn(ColumnName = "RoleCode")]
        public string RoleCode { get; set; }

        /// <summary>
        /// CreatedOn
        /// </summary>
        [SugarColumn(ColumnName = "CreatedOn")]
        public DateTime CreatedOn { get; set; }

        /// <summary>
        /// IsSeed
        /// </summary>
        [SugarColumn(ColumnName = "IsSeed")]
        public int? IsSeed { get; set; } // 允许为空
    }
}